#include <windows.h>
#include "ILApp.h"

int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd)
{
	CILApp app;

	HRESULT hr = app.init(hInstance, hPrevInstance, lpCmdLine, nShowCmd);

	if (FAILED (hr))
	{
		CONSOLE("Failied to initilizae application\n");
		assert(0);
	}


	return app.Run();
}